Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: missing constructors and operators in substrate/console #75

Merged
merged 5 commits into from
Aug 21, 2023

Conversation

dragonmux
Copy link
Member

In this PR we aim to fix how printable_t is defined and how the asN_t types failed to properly define constructors, destructors and assignment operators, thus failing the Rule of 5 requirements on them.

The goal here is to address several MSVC warnings and clang-tidy lints which indicate broken code, with the intent of getting the blackmagic-debug/bmpflash build closer to warning-free ahead of cutting releases of this library and that program.

@dragonmux dragonmux added the enhancement New feature or request label Aug 21, 2023
@dragonmux dragonmux changed the title Fix: missing constructors and operators in substrate/cosnole Fix: missing constructors and operators in substrate/console Aug 21, 2023
@codecov
Copy link

codecov bot commented Aug 21, 2023

Codecov Report

Merging #75 (6483ea5) into main (8ec9109) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #75   +/-   ##
=======================================
  Coverage   90.38%   90.38%           
=======================================
  Files          47       47           
  Lines        3277     3277           
  Branches      644      644           
=======================================
  Hits         2962     2962           
  Misses        247      247           
  Partials       68       68           
Files Changed Coverage Δ
substrate/console 96.22% <100.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@amyspark amyspark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Sending you the log over PM.

@dragonmux
Copy link
Member Author

Excellent, thank you. We'll get this merged then so we can keep chipping away at the warning list and get CI on bmpflash sorted out.

@dragonmux dragonmux merged commit 6483ea5 into main Aug 21, 2023
167 checks passed
@dragonmux dragonmux deleted the fix/missing-constructors-and-operators branch August 21, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants